import request from '@/utils/request'

// 查询学生完成审批信息列表
export function listFinishStudent(certApplicationId) {
  return request({
    url: '/finishStudent/list/' + certApplicationId,
    method: 'get',
  })
}

// 查询学生完成审批信息详细
export function getFinishStudent(id) {
  return request({
    url: '/finishStudent/finishStudent/' + id,
    method: 'get'
  })
}

// 新增学生完成审批信息
export function addFinishStudent(data) {
  return request({
    url: '/finishStudent/finishStudent',
    method: 'post',
    data: data
  })
}

// 修改学生完成审批信息
export function updateFinishStudent(data) {
  return request({
    url: '/finishStudent/finishStudent',
    method: 'put',
    data: data
  })
}

// 删除学生完成审批信息
export function delFinishStudent(id) {
  return request({
    url: '/finishStudent/finishStudent/' + id,
    method: 'delete'
  })
}
